package com.fitzone.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fitzone.model.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.text.DecimalFormat;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("vip")
public class Vip extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("type")
    private String type;

    @TableField("price")
    private BigDecimal price;

    @TableField("duration")
    private Integer duration;

}
